//
//  LoginView.h
//  xpkc
//
//  Created by wanmeizty on 14-9-4.
//  Copyright (c) 2014年 wanmeizty. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+Shake.h"

@protocol LoginViewDelegate <NSObject>

- (void)loginWithUsername:(NSString *)username andPassword:(NSString *)password;
- (void)regist;
- (void)forgot;
- (void)remember:(UIButton *)btn;
@end

@interface LoginView : UIView<UITextFieldDelegate>

@property (nonatomic, assign)id<LoginViewDelegate> delegate;

- (void)loginStatue:(LoginStatue)statue;
- (void)fillUsername:(NSString *)userName andPassword:(NSString *)passWord;

@end
